package org.example.design.chainofresponsibility.test1;

/**
 * @author huangshen
 * @version 0
 * @description 永远不解决问题的类
 * @since 2022/2/10 11:03
 */
public class NoSupport extends Support {

    public NoSupport(String name) {
        super(name);
    }

    /**
     * 解决问题的方法
     * 不做任何处理
     * @param trouble
     * @return boolean
     */
    @Override
    protected boolean resolve(Trouble trouble) {
        return false;
    }
}
